package com.t8;

/**
 * Created by xuyiwei on 2018/7/19.
 */
public class Shapes {

    private static RandomShapeGenerator gen = new RandomShapeGenerator();

    public static void main(String[] args) {
        Shape[] shapes = new Shape[9];
        for(int i=0;i<9;i++){
            shapes[i] = gen.next();
        }
        for(Shape shape:shapes){
            shape.draw();
        }

    }
}
